/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package www.enumerators;

/**
 *
 * @author Mardavmich
 */
public enum StopBits {
    
    _1(1,"1"),
    _2(2,"2"),
    ;
    
    int key;
    String value;
    
    StopBits(int key, String value){
        this.key = key;
        this.value = value;
    }

    public static StopBits get1() {
        return _1;
    }

    public static StopBits get2() {
        return _2;
    }

    public int getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
    
    
    
}
